package com.pay.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.math.BigDecimal;

@RestController
public class PayController {

	@GetMapping("/pay")
	public void doPay(@RequestParam("money") BigDecimal money) {
		System.out.println("支付模块处理支付，金额：" + money);
	}
	
}
